<table class="table table-striped">
    <tbody>
    <tr>
        <td>{:__('argno')}</td>
        <td>{$row['argno']}</td>
        <td>{:__('status1')}</td>
        <td>{:app\\admin\\model\\Admin::getUserNameByid($row['status1'])}</td>
    </tr>
    <tr>
        <td>{:__('date')}</td>
        <td>{$row['date']}</td>
        <td>{:__('status2')}</td>
        <td>{:app\\admin\\model\\Admin::getUserNameByid($row['status2'])}</td>
    </tr>
    <tr>
        <td>{:__('Factory.name')}</td>
        <td>{$row['factory']['name']}</td>
        <td>{:__('status3')}</td>
        <td>{:app\\admin\\model\\Admin::getUserNameByid($row['status3'])}</td>
    </tr>
    <tr>
        <td>{:__('Medicine.name')}</td>
        <td>{$row['medicine']['name']}</td>
        <td>{:__('status4')}</td>
        <td>{:app\\admin\\model\\Admin::getUserNameByid($row['status4'])}</td>
    </tr>
    <tr>
        <td>{:__('Name')}</td>
        <td>{$row['name']}</td>
        <td>{:__('status5')}</td>
        <td>{:app\\admin\\model\\Admin::getUserNameByid($row['status5'])}</td>
    </tr>
    <tr>
        <td>{:__('Event')}</td>
        <td>{$row['event']}</td>
        <td>{:__('status6')}</td>
        <td>{:app\\admin\\model\\Admin::getUserNameByid($row['status6'])}</td>
    </tr>

    </tbody>
</table>
<div class="hide layer-footer">
    <label class="control-label col-xs-12 col-sm-1"></label>
    <div class="col-xs-12 col-sm-10 text-center" >
        {if $row['status1']==''}
        <button class="btn btn-danger btn-embossed btn-my-ajax"
                data-confirm='确认领取该报告?'
                data-table-id="table"
                data-refresh="true"
                href="presentation/check?type=1&ids={$row['id']}">{:__('Get Presentation')}</button>
        {/if}
        {if $row['status']==1}
        <button href="presentation/create?ids={$row['id']}"
           class="btn btn-primary btn-dialog"
           onclick="Layer.closeAll();"
           data-area="[&quot;100%&quot;,&quot;100%&quot;]" title="录入报告"
           data-table-id="table" data-field-index="12" data-row-index="0"
                data-button-index="1"><i class="fa fa-plus"></i> {:__('Presentation Create')}</button>
        {/if}
        {if $row['status']==1 && $row['status1']!=''}
        <button data-confirm='确认提交审核?'
                class="btn btn-success btn-embossed btn-my-ajax"
                data-table-id="table"
                data-refresh="true"
                href="presentation/check?type=2&ids={$row['id']}">{:__('Check 0')}</button>
        {/if}
        {if $row['status']==2 && $row['status2']==''}
        <button data-confirm='确认领取该报告?'
                data-refresh="true"
                class="btn btn-success btn-embossed btn-my-ajax"
                href="presentation/check?type=3&ids={$row['id']}">{:__('Get Presentation')}
        </button>
        {/if}

        {if $row['status']==2 && $row['status2']!=''}
        <button data-confirm='请确认本报告存在错误未通过录入复核，需要退回给原录入者进行修改吗？'
                data-refresh="true"
                data-table-id="table"
                class="btn btn-error btn-embossed btn-my-ajax"
                href="presentation/check?type=4&ids={$row['id']}">{:__('Check 1')}
        </button>

        <button data-confirm='请确认本报告已通过录入复核，并提交到下一步医学评价？'
                data-refresh="true"
                data-table-id="table"
                class="btn btn-success btn-embossed btn-my-ajax"
                href="presentation/check?type=5&ids={$row['id']}">{:__('Check 2')}
        </button>
        {/if}


        {if $row['status']==3 && $row['status3']==''}
        <button data-confirm='确认领取该报告?'
                data-refresh="true"
                class="btn btn-success btn-embossed btn-my-ajax"
                href="presentation/check?type=6&ids={$row['id']}">{:__('Get Presentation')}
        </button>
        {/if}

        {if $row['status']==3 && $row['status3']!=''}
        <button class="btn btn-success btn-embossed btn-dialog"
                onclick="Layer.closeAll();"
                data-area="[&quot;100%&quot;,&quot;100%&quot;]"
                title="添加医学评价"
                href="presentationcomment/edit?pids={$row['id']}&dialog=1">
            <i class="fa fa-push"></i>{:__('Create Comment')}
        </button>
        <button data-confirm='请确认本报告医学评价已经完成,提交给下一步评价复核？'
                data-refresh="true"
                data-table-id="table"
                class="btn btn-error btn-embossed btn-my-ajax"
                href="presentation/check?type=7&ids={$row['id']}">{:__('提交评价复核')}
        </button>
        {/if}


        <button class="btn btn-success btn-embossed btn-ajax">{:__('View Presentation')}</button>

        <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
    </div>
</div>